import type { HttpResponse } from "../request";

export interface DefaultSearchResponse extends HttpResponse {
  data: DefaultSearchData;
}

export interface HotSearchData extends HttpResponse {
  data: HotSearchItem[];
}

export interface DefaultSearchData {
  realkeyword: string;
  searchType: number;
  showKeyword: string;
}

export interface HotSearchItem {
  alg: string;
  content: string;
  iconType: number;
  iconUrl: null;
  score: number;
  searchWord: string;
  source: number;
  url: string;
}
